home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / programm.ing / m2posx10.zoo / m2posix.10 / include / posix_id.m2h < prev   
Encoding:
Text File  |  1993-07-07  |  4.3 KB  |  182 lines

  1. #define pcLinkMax _PC_LINK_MAX
  2. #define pcPathMax _PC_PATH_MAX
  3. #define pcNameMax _PC_NAME_MAX
  4. #define pcPipeBuf _PC_PIPE_BUF
  5. #define pcNoTrunc _PC_NO_TRUNC
  6. #define pcMaxCanon _PC_MAX_CANON
  7. #define pcMaxInput _PC_MAX_INPUT
  8. #define pcChownRestricted _PC_CHOWN_RESTRICTED
  9. #define pcVdisable _PC_VDISABLE
  10.  
  11. #define scArgMax _SC_ARG_MAX
  12. #define scOpenMax _SC_OPEN_MAX
  13. #define scNGroupsMax _SC_NGROUPS_MAX
  14. #define scChildMax _SC_CHILD_MAX
  15. #define scClkTck _SC_CLK_TCK
  16. #define scJobControl _SC_JOB_CONTROL
  17. #define scSavedIds _SC_SAVED_IDS
  18. #define scVersion _SC_VERSION
  19.  
  20. #define ClkTck CLK_TCK
  21. #define NGroupsMax NGROUPS_MAX
  22. #define SsizeMax SSIZE_MAX
  23. #define UtsnameRec struct_utsname /* struct utsname */
  24.  
  25. #define PosixArgMax _POSIX_ARG_MAX
  26. #define PosixChildMax _POSIX_CHILD_MAX
  27. #define PosixLinkMax _POSIX_LINK_MAX
  28. #define PosixMaxCanon _POSIX_MAX_CANON
  29. #define PosixMaxInput _POSIX_MAX_INPUT
  30. #define PosixNameMax _POSIX_NAME_MAX
  31. #define PosixNGroupsMax _POSIX_NGROUPS_MAX
  32. #define PosixOpenMax _POSIX_OPEN_MAX
  33. #define PosixPathMax _POSIX_PATH_MAX
  34. #define PosixPipeBuf _POSIX_PIPE_BUF
  35. #define PosixStreamMax _POSIX_STREAM_MAX
  36. #define PosixSsizeMax _POSIX_SSIZE_MAX
  37.  
  38. #define inoT ino_t
  39. #define uidT uid_t
  40. #define gidT gid_t
  41. #define nlinkT nlink_t
  42. #define devT dev_t
  43. #define pidT pid_t
  44. #define offT off_t
  45. #define sizeT size_t
  46. #define ssizeT ssize_t
  47. #define clockT clock_t
  48. #define timeT time_t
  49.  
  50. #define sIXOTH S_IXOTH
  51. #define sIWOTH S_IWOTH
  52. #define sIROTH S_IROTH
  53. #define sIXGRP S_IXGRP
  54. #define sIWGRP S_IWGRP
  55. #define sIRGRP S_IRGRP
  56. #define sIXUSR S_IXUSR
  57. #define sIWUSR S_IWUSR
  58. #define sIRUSR S_IRUSR
  59.  
  60. #define sISGID S_ISGID
  61. #define sISUID S_ISUID
  62.  
  63. #define modeT mode_t
  64.  
  65. #define sIRWXU S_IRWXU
  66. #define sIRWXG S_IRWXG
  67. #define sIRWXO S_IRWXO
  68.  
  69. #define sISCHR S_ISCHR
  70. #define sISDIR S_ISDIR
  71. #define sISBLK S_ISBLK
  72. #define sISREG S_ISREG
  73. #define sISFIFO S_ISFIFO
  74. #define sISLNK S_ISLNK
  75.  
  76. #define StatRec struct_stat /* struct stat */
  77. #define stMode st_mode
  78. #define stIno st_ino
  79. #define stDev st_dev
  80. #define stNlink st_nlink
  81. #define stUid st_uid
  82. #define stGid st_gid
  83. #define stSize st_size
  84. #define stAtime st_atime
  85. #define stMtime st_mtime
  86. #define stCtime st_ctime
  87.  
  88. #define fOK F_OK
  89. #define rOK R_OK
  90. #define wOK W_OK
  91. #define xOK X_OK
  92.  
  93. #define oRDONLY O_RDONLY
  94. #define oWRONLY O_WRONLY
  95. #define oRDWR O_RDWR
  96.  
  97. #define oAPPEND O_APPEND
  98. #define oCREAT O_CREAT
  99. #define oTRUNC O_TRUNC
  100. #define oEXCL O_EXCL
  101. #define oNOCTTY O_NOCTTY
  102. #define oNONBLOCK O_NONBLOCK
  103.  
  104. #define FdCloExec FD_CLOEXEC
  105. #define fDUPFD F_DUPFD
  106. #define fGETFD F_GETFD
  107. #define fSETFD F_SETFD
  108. #define fGETFL F_GETFL
  109. #define fSETFL F_SETFL
  110. #define fGETLK F_GETLK
  111. #define fSETLK F_SETLK
  112. #define fSETLKW F_SETLKW
  113. #define fRDLCK F_RDLCK
  114. #define fWRLCK F_WRLCK
  115. #define fUNLCK F_UNLCK
  116. #define FlockRec struct_flock /* struct flock */
  117.  
  118. #define SeekSet SEEK_SET
  119. #define SeekCur SEEK_CUR
  120. #define SeekEnd SEEK_END
  121.  
  122. #define StdinFileNo STDIN_FILENO
  123. #define StdoutFileNo STDOUT_FILENO
  124. #define StderrFileNo STDERR_FILENO
  125.  
  126. #define UTimeBuf struct_utimbuf /* struct utimbuf */
  127.  
  128. #define DirentRec struct_dirent /* struct dirent */
  129. #define dName d_name
  130.  
  131. #define TmsRec struct_tms /* struct tms */
  132. #define tmsUtime tms_utime
  133. #define tmsStime tms_stime
  134. #define tmsCUtime tms_cutime
  135. #define tmsCStime tms_cstime
  136.  
  137. #define Exit _exit
  138.  
  139. #define RandMax RAND_MAX
  140.  
  141. #define JmpBuf jmp_buf
  142.  
  143. #define FNMPathname FNM_PATHNAME
  144. #define FNMPeriod FNM_PERIOD
  145. #define FNMNoEscape FNM_NOESCAPE
  146. #define FNMNoMatch FNM_NOMATCH
  147.  
  148. #define LCtermid L_ctermid
  149.  
  150. #define TermiosRec struct_termios /* struct termios */
  151. #define cIflag c_iflag
  152. #define cOflag c_oflag
  153. #define cCflag c_cflag
  154. #define cLflag c_lflag
  155. #define cCc c_cc
  156.  
  157. #define tciflagT tciflag_t /* tcflag_t */
  158. #define tcoflagT tcoflag_t /* tcflag_t */
  159. #define tccflagT tccflag_t /* tcflag_t */
  160. #define tclflagT tclflag_t /* tcflag_t */
  161. #define ccT cc_t
  162.  
  163. #define speedT speed_t
  164.  
  165. #define SigDfl SIG_DFL
  166. #define SigIgn SIG_IGN
  167.  
  168. #define sigsetT sigset_t
  169.  
  170. #define SigactionRec struct_sigaction /* struct sigaction */
  171. #define saHandler sa_handler
  172. #define saMask sa_mask
  173. #define saFlags sa_flags
  174.  
  175. #define SaNoCldStop SA_NOCLDSTOP
  176.  
  177. #define SigBlock SIG_BLOCK
  178. #define SigUnBlock SIG_UNBLOCK
  179. #define SigSetMask SIG_SETMASK
  180.  
  181. #define SigJmpBuf sigjmp_buf
  182.